package _5_Create._5_1_Factory._5_1_2_AbstractFactory._0_;

/**
 * 用于创建2这个产品族
 */
public class Concrete2Creator implements Creator {

    @Override
    public ProductA factoryA() {
        return new ProductA2();
    }

    @Override
    public ProductB factoryB() {
        return new ProductB2();
    }
}
